﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KOPLibrary.SharePointManagement
{
    public class TaskData
    {
        public string AssignedTo { get; set; }
        public string Title { get; set; }
        public string CreateDate { get; set; }

        public string StartDate { get; set; }
        public string ModifyDate { get; set; }


        public string DueDate { get; set; }
        public string Status { get; set; }
        public string Outcome { get; set; }


        public TaskData(string assignedto, string title, string duedate, string status, string outcome)
        {
            AssignedTo = assignedto;
            Title = title;
            DueDate = duedate;
            Status = status;
            Outcome = outcome;
        }



        public TaskData(string[] items)
        {

            AssignedTo = items[0];
            Title = items[1];
            CreateDate = items[2];
            StartDate = items[3];
            ModifyDate = items[4];
            DueDate = items[5];
            Status = items[6];
            Outcome = items[7];

        }
    }
}
